<?php include_partial('back/show', array('uri' => '@localized_homepage')); ?>
<h1 class="title">Vidéos</h1>
<ul class="list-photo">
<?php
foreach($albumsVideos as $album){
    if($album[ 'slug' ] == 'stage-de-ping-2010-2011-a-aizenay'){
        $url = '/images/videos/stage-ping.jpg';
    }elseif($album[ 'slug' ] == 'remise-des-trophees-lors-de-l-ag-2010-2011'){
        $url = '/images/videos/ag-2010-2011.jpg';
    }
    ?>
    <li>
        <a href="<?php echo url_for('@videos_show_detail?title_slug=' . $album[ 'slug' ]) ?>">
            <img title="<?php echo $album[ 'title' ] ?>" alt="<?php echo $album[ 'title' ] ?>" src="<?php echo $url ?>" width="170" height="136" />
            <h3><?php echo $album[ 'title' ] ?></h3>
        </a>
    </li>
<?php }?>
</ul>
<div class="push_float_left"></div>